#ifndef __COMMON_WINSOCK__
#define __COMMON_WINSOCK__

#include <winsock2.h>

#pragma comment(lib, "ws2_32.lib")

class winsock
{
private:
	static WSADATA m_wsa;

public:
	winsock();
	~winsock();
	static int GetErrorCode(void);
};

#endif